package com.ei.itop.stat.bean;

public class IncidentAnalysisReport {

	private String incidentType;

	private Integer prodTypeCount1;

	private Integer prodTypeCount2;

	private Integer prodTypeCount3;

	private Integer prodTypeCount4;

	private Integer prodTypeCount5;

	private Integer prodTypeSumCount;

	private Integer percent;

	public String getIncidentType() {
		return incidentType;
	}

	public void setIncidentType(String incidentType) {
		this.incidentType = incidentType;
	}

	public Integer getProdTypeCount1() {
		return prodTypeCount1;
	}

	public void setProdTypeCount1(Integer prodTypeCount1) {
		this.prodTypeCount1 = prodTypeCount1;
	}

	public Integer getProdTypeCount2() {
		return prodTypeCount2;
	}

	public void setProdTypeCount2(Integer prodTypeCount2) {
		this.prodTypeCount2 = prodTypeCount2;
	}

	public Integer getProdTypeCount3() {
		return prodTypeCount3;
	}

	public void setProdTypeCount3(Integer prodTypeCount3) {
		this.prodTypeCount3 = prodTypeCount3;
	}

	public Integer getProdTypeCount4() {
		return prodTypeCount4;
	}

	public void setProdTypeCount4(Integer prodTypeCount4) {
		this.prodTypeCount4 = prodTypeCount4;
	}

	public Integer getProdTypeCount5() {
		return prodTypeCount5;
	}

	public void setProdTypeCount5(Integer prodTypeCount5) {
		this.prodTypeCount5 = prodTypeCount5;
	}

	public Integer getProdTypeSumCount() {
		return (prodTypeCount1 == null ? 0 : prodTypeCount1) + (prodTypeCount2 == null ? 0 : prodTypeCount2)
				+ (prodTypeCount3 == null ? 0 : prodTypeCount3) + (prodTypeCount4 == null ? 0 : prodTypeCount4)
				+ (prodTypeCount5 == null ? 0 : prodTypeCount5);
	}

	public void setProdTypeSumCount(Integer prodTypeSumCount) {
		this.prodTypeSumCount = prodTypeSumCount;
	}

	public Integer getPercent() {
		return percent;
	}

	public void setPercent(Integer percent) {
		this.percent = percent;
	}

}
